home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 020a / ansip21b.zip / ANSIPLAY.DOC < prev    next >
Text File  |  1991-08-15  |  62KB  |  1,491 lines

  1.  
  2.                  ANSIPLAY vs. 2.1 - Copyright 1991, J. Ibarra
  3.                            ALL RIGHTS RESERVED
  4.        
  5.                          U S E R ' S   M A N U A L
  6.                             (updated 08/12/91)
  7.        INDEX:                                         PAGE NO.
  8.        -------------------------------------------    --------
  9.        Copyright Notice and Regulations . . . . . . . .  2
  10.        
  11.        Introduction . . . . . . . . . . . . . . . . . .  3
  12.        
  13.        Files included with the program. . . . . . . . .  4
  14.        
  15.        Printing the manual. . . . . . . . . . . . . . .  5
  16.        
  17.        How ANSIPLAY works . . . . . . . . . . . . . . .  5
  18.        
  19.        INSTALLATION program . . . . . . . . . . . . . .  6
  20.        
  21.        Editing your ANSI file . . . . . . . . . . . . .  6
  22.        
  23.        Using alternate characters in place of ESC . . .  7
  24.  
  25.        Music string syntax. . . . . . . . . . . . . . .  7
  26.        
  27.        Music string contents. . . . . . . . . . . . . .  7
  28.        
  29.        Music codes / Sound codes definition . . . . . .  8
  30.        
  31.        Using Music Codes. . . . . . . . . . . . . . . .  9
  32.        
  33.        Using Sound Codes. . . . . . . . . . . . . . . .  9
  34.        
  35.        Variation in Music String formats. . . . . . . . 11
  36.  
  37.        Music string Tutorial (TUTOR.BAT). . . . . . . . 11
  38.  
  39.        Making the music strings invisible . . . . . . . 12
  40.  
  41.        Using ESC/Music Note characters during editing . 13
  42.        
  43.        Getting familiar with ANSIPLAY . . . . . . . . . 13
  44.        
  45.        ANSIPLAY command syntax (and options). . . . . . 13
  46.        
  47.        File viewing with /L option. . . . . . . . . . . 14
  48.  
  49.        Reinitializing the display screen (ANSIPLAY.CLS) 15
  50.  
  51.        Removing music strings (MUSCSTRP.EXE). . . . . . 16
  52.  
  53.        How ANSIAUTO works (slide-show). . . . . . . . . 16
  54.        
  55.        Running ANSIAUTO . . . . . . . . . . . . . . . . 17
  56.        
  57.        Using PLAY.EXE (music string player/editor). . . 17
  58.  
  59.        Registering ANSIPLAY . . . . . . . . . . . . . . 19
  60.  
  61.        APPENDICES . . . . . . . . . . . . . . . . . . . 20-24
  62.  
  63.                                    * Page 1 *       
  64.        
  65.       
  66.  
  67.        First of all, let me get this over with...
  68.        
  69.        COPYRIGHT NOTICE AND REGULATIONS -- Please read !!!
  70.        --------------------------------
  71.        THIS CONDITION STATEMENT SUPERSEDES ALL PREVIOUS AGREEMENTS.
  72.  
  73.        ANSIPLAY and included files are NOT Public Domain and they
  74.        are not free.  All copyrights to ANSIPLAY and included files are
  75.        reserved by the author, Julie M. Ibarra, and are protected by
  76.        United States Copyright Laws.  ANSIPLAY is distributed under
  77.        the ShareWare concept.
  78.  
  79.        To continue development/enhancement of ANSIPLAY to make it the
  80.        quality program you expect depends solely on the honesty and
  81.        integrity of YOU, the ANSIPLAY user.
  82.                                                                              
  83.        The Copyright notice which is displayed after each file is
  84.        viewed will not be shown on registered versions of ANSIPLAY.
  85.  
  86.        Non-registered users of this program are hereby granted a limited
  87.        license to use ANSIPLAY and included files to and see if it
  88.        fullfills their needs.
  89.  
  90.        If you intend to use ANSIPLAY or included files for usage other
  91.        than this limited purpose you are required to register each copy
  92.        used.
  93.  
  94.        Use of ANSIPLAY by non-registered people outside of this limited
  95.        license is prohibited.  Violators of the license will be held
  96.        accountable for their actions in a Court of Law and may face
  97.        financial penalties and/or imprisonment.
  98.  
  99.        User's are free to use ANSIPLAY and included utilities for a trial
  100.        period of 30 days.  If after 30 days you decide to keep the program,
  101.        you must register your copy by sending the required payment to the
  102.        author.  Failure to register your copy after 30 days is in direct
  103.        violation of copyright laws.
  104.        
  105.        Neither ANSIPLAY nor any of the included program files nor
  106.        documentation may be altered in any way.
  107.  
  108.        Non-registered versions of ANSIPLAY (and included files) may be
  109.        distributed freely in unaltered form provided that NO CHARGE is
  110.        made for the program itself (postage and disk costs excluded).
  111.        All files and documentation must be included.
  112.  
  113.        System Operators may make ANSIPLAY available for download only if the
  114.        above conditions are met.
  115.  
  116.        Distributors of "Public Domain",  "Shareware",  and/or  User Supported
  117.        software may distribute ANSIPLAY and included files subject to the
  118.        above conditions only after obtaining WRITTEN permission from
  119.        The author, Julie M. Ibarra.
  120.  
  121.        This product is provided "AS IS" WITHOUT WARRANTY OF ANY KIND.
  122.        The entire risk as the results and performance of the PRODUCT is
  123.        assumed BY YOU.
  124.  
  125.                                    * Page 2 *
  126.  
  127.  
  128.  
  129.        In NO event shall the author, nor employees of the author be
  130.        liable for any damages whatsoever (including without limitation
  131.        damages for loss of business profits, business interuption, loss
  132.        of business information and the like) arising out of the use of
  133.        or inability to use this product even if the author has been
  134.        advised of the possibility of such damages.
  135.  
  136.        This license does not apply to the REGISTERED version of
  137.        ANSIPLAY.  Different conditions and agreements pertain to the
  138.        REGISTERED version of ANSIPLAY, and are included with all
  139.        registration orders.
  140.  
  141.        
  142.        INTRODUCTION
  143.        ------------
  144.        If you have this program, more than likely you are already
  145.        familiar with ANSI control sequences.  But just for sake of
  146.        reference, here's a few more details about what ANSI is and
  147.        how it works.
  148.  
  149.        ANSI (American National Standards Institute) control sequences
  150.        are simply sets of characters which, when put together, will
  151.        enable computer-users to have extended control over their display
  152.        screen.
  153.  
  154.        This extended control is given by DOS's device driver, ANSI.SYS,
  155.        which reads these sets of characters, interprets them, and then
  156.        processes the commands by moving the cursor positions, changing
  157.        screen colors, etc.  They also will allow your monitor to display
  158.        the extended ASCII character set (Decimals 128 - 255).
  159.  
  160.        These sets of characters are referred to as Escape Command
  161.        Sequences.  In other words, a sequence of commands preceeded by
  162.        an Escape character (Decimal Character 27).
  163.  
  164.        Each computer system processes these command sequences at 
  165.        different speeds...for example, an AT will processes much
  166.        faster than an XT.
  167.        
  168.        There are several software packages which allow the user to edit
  169.        and save these command sequences into a file (called an ANSI
  170.        file) without having to know the actual command sequences.
  171.        Some of these (Such as Shareware's "THE DRAW") will
  172.        allow you to specify the speed of which you want the ANSI file
  173.        to be displayed.
  174.  
  175.        Once the ANSI.SYS device driver is installed in DOS (Disk
  176.        Operating System), these ANSI files may be displayed by simply
  177.        typing a DOS command something like:
  178.        
  179.                   TYPE FILENAME.ANS
  180.        
  181.        Installation of ANSI.SYS is discussed later in this manual.
  182.        
  183.        Until now, the ANSI files have had one drawback...they have
  184.        screen control, but no sound.
  185.        
  186.  
  187.                                    * Page 3 *
  188.  
  189.  
  190.  
  191.        ANSIPLAY was developed for the purpose of adding music/sound
  192.        ability to ANSI files.  ANSIPLAY is NOT intended to be an ANSI
  193.        editing program such as the well known Shareware program
  194.        "TheDraw" which enables on-screen selection of colors, cursor
  195.        positions and movement, etc., but rather ANSIPLAY is intended
  196.        allow the user to use ANY ANSI file and, by adding a few extra
  197.        escape command sequences (we'll call them music codes), enable
  198.        the integration of screen display and music/sound/pauses to it.
  199.        
  200.        Once these music codes are added to the file (by use of most any
  201.        text editor), the simplest command used to display/play them
  202.        would replace the 'TYPE' command with 'ANSIPLAY', thus something
  203.        like:
  204.                   ANSIPLAY FILENAME.ANS
  205.        
  206.        Later in this manual is a more detailed breakdown of command
  207.        syntax and additional options available with ANSIPLAY.
  208.        
  209.        One thing to remember: Adding music strings to the file
  210.        is kind of like putting icing on the cake...it's the final
  211.        touch to your ANSI file.
  212.  
  213.        You can't re-bake the cake once the icing's been put on it,
  214.        and you can't reconstruct the ANSI file with an ANSI editor
  215.        (such as "The Draw") with the music strings in it.  The reason
  216.        being that the editor will try to interpret the escape
  217.        sequences containing music strings as text, therefore displaying
  218.        it to screen.
  219.  
  220.        You CAN however, remove the music strings using MUSCSTRP.EXE,
  221.        to make the file compatible for the ANSI editor again.
  222.        (Refer to the section on "Removing Music Strings".)
  223.  
  224.        A text editor, of course will interpret ALL characters as text
  225.        so there's no problem there.
  226.  
  227.  
  228.        FILES INCLUDED
  229.        --------------
  230.        Files included with this package are as follows:
  231.        
  232.                           ---Program Files---
  233.  
  234.           INSTALL .EXE - Installation program (please read INSTALL.DOC)
  235.           ANSIPLAY.EXE - Program to read/display/play ANSI files.
  236.           ANSIAUTO.EXE - Program to automate ANSIPLAY.EXE into a
  237.                          slide-show.
  238.           PLAY    .EXE - Allows you to play a music string from the
  239.                          DOS prompt.
  240.           MUSCSTRP.EXE - Removes music strings from your ANSI files.
  241.           GO      .BAT - An Introduction to the entire program package.
  242.           TUTOR   .BAT - A brief tutorial on some of ANSIPLAY's more
  243.                          advanced features. (Read this manual first.)
  244.  
  245.  
  246.  
  247.  
  248.  
  249.                                    * Page 4 *
  250.  
  251.  
  252.  
  253.                           ---Documentation---
  254.  
  255.           INSTALL .DOC - Information of using the INSTALLation program.
  256.           OVERVIEW.DOC - A quick look at most of ANSIPLAY's features.
  257.           ANSIPLAY.DOC - User's Manual (This documentation).
  258.           ANSICODE.TXT - Listing of ANSI control sequences available.
  259.           MUSICODE.TXT - Listing of Music and Sound codes available to
  260.                          be used with ANSIPLAY.EXE.
  261.           ORDER   .FRM - Registration Form to purchase your registered   
  262.                          and most current version of ANSIPLAY.
  263.           UPDATE  .TXT - Info. about changes made from prior versions.
  264.           BBS     .TXT - Some pointers for BBS user's
  265.  
  266.  
  267.                            ---Data Files---
  268.  
  269.           ANSIAUTO.DAT - Sample Data file used with ANSIAUTO.EXE.
  270.           INTRO   .ANS - Data file used with GO.BAT
  271.           TUTOR   .ANS - ANSI file used with TUTOR.BAT
  272.           XMASTREE.ANS - Demonstration ANSI file (using music codes)
  273.           FAUCET  .ANS - Demonstration ANSI file (using sound codes)
  274.           SEA     .ANS - Demonstration ANSI file (using music and sound codes)
  275.  
  276.        
  277.        PRINTING THE MANUAL
  278.        -------------------
  279.        The installation program (INSTALL.EXE) will allow you print
  280.        any/all documentation included with the ANSIPLAY program package.
  281.  
  282.        If you'de rather print the manual from the DOS prompt, log onto
  283.        the drive/directory in which this file (ANSIPLAY.DOC) exists, and
  284.        type  COPY ANSIPLAY.DOC PRN.
  285.        
  286.        All other documentation files/order form may be printed the same
  287.        way by using different filenames.  Form-feeds are included at the
  288.        end of each text file.
  289.  
  290.        
  291.        HOW ANSIPLAY WORKS
  292.        ------------------
  293.        When you run ANSIPLAY, you will specify the filename of the file
  294.        you want to be displayed/played.  ANSIPLAY will read the file and
  295.        display it to the screen using the ANSI.SYS device driver, while
  296.        at the same time, searching for music codes which tell ANSIPLAY
  297.        what music notes/sounds to play.
  298.        
  299.        The music codes are NOT ANSI escape command sequences, but rather
  300.        they are interpreted and processed by ANSIPLAY.
  301.  
  302.        ANSIPLAY will be just slightly slower than DOS's TYPE command
  303.        since it must search the text for each music string and process
  304.        it accordingly.  DOS's TYPE command will process the strings as
  305.        text.  The text may be made hidden (invisible) by embedding
  306.        additional escape command sequences in the ANSI file.  (Refer to
  307.        the section on "Making the music strings invisible".)
  308.  
  309.  
  310.  
  311.                                    * Page 5 *
  312.  
  313.  
  314.  
  315.        Shareware versions will then display a short message in ANSI
  316.        to remind users that the version in not registered.  This message
  317.        is not displayed with registered versions.
  318.        
  319.        
  320.        INSTALLATION (INSTALL.EXE)
  321.        --------------------------
  322.        Installation will allow you to do the following...
  323.  
  324.        1.  Installation of your ANSI device driver into your
  325.               CONFIG.SYS file.
  326.        2.  Setting a PATH in your AUTOEXEC.BAT file
  327.               (for use with ANSIPLAY program files).
  328.        3.  Creating/Updating your ANSIPLAY.CLS file.
  329.        4.  SETting an environment variable via your AUTOEXEC.BAT file
  330.               (for use with the file ANSIPLAY.CLS)
  331.        5.  Option to print documentation file(s).
  332.  
  333.        To run the installation program, type INSTALL at the DOS prompt.
  334.  
  335.        A two-page document (INSTALL.DOC) gives more information on
  336.        these options.  To print INSTALL.DOC while in the INSTALL program,
  337.        answer Yes when asked..."Print the file INSTALL.DOC now ?".
  338.  
  339.  
  340.        About your ANSI device driver
  341.        -----------------------------
  342.        Many programs use ANSI control characters, but if the device
  343.        driver ANSI.SYS is not installed before comming accross them,
  344.        you'll just get a lot of funny looking characters that don't mean
  345.        much.
  346.        
  347.        The ANSI device driver "ANSI.SYS" is included in your own DOS files.
  348.        
  349.        The installation program will determine whether or not the driver
  350.        is already installed.  If you're still wondering, you can type
  351.        'ANSIPLAY' at the DOS prompt.  When the copyright message is
  352.        displayed, if you see color, the driver is installed.  If you get
  353.        a menagery of strange characters on the screen, the driver is NOT
  354.        installed.
  355.  
  356.        Once the ANSI device driver is installed into your CONFIG.SYS,
  357.        it will be loaded automatically each time you boot up.
  358.        
  359.        If you wish to install the driver manually rather than using the
  360.        included installation program (INSTALL.EXE), consult your DOS
  361.        user's manual for information on how to do this.
  362.  
  363.        
  364.        EDITING YOUR ANSI FILE
  365.        ----------------------
  366.        If you are starting from scratch, you may want to look into an
  367.        ANSI screen editor such as the Shareware program "TheDraw".
  368.        Without such a program, ANSI file creation can be tackled, but it
  369.        would be extremely tedious and time-consuming at best.
  370.        
  371.  
  372.  
  373.                                    * Page 6 *
  374.  
  375.  
  376.  
  377.        Your DOS user's manual will explain the escape control sequences
  378.        used with ANSI.SYS.  There is also a reference listing included
  379.        in the file ANSICODE.TXT (see section on "printing the manual").
  380.        One example would be, to set the foreground color to bright
  381.        yellow on a blue background...
  382.        
  383.                   ESC[44;1;33m
  384.        
  385.        Unless you're very familiar with these escape sequences, it can
  386.        be a bit like learning a foreign language.
  387.        
  388.  
  389.        USING ALTERNATE CHARACTERS IN PLACE OF ESC
  390.        ------------------------------------------
  391.        If for some reason the ESC character is stripped, for instance
  392.        by a BBS that does not allow extended ascii characters during
  393.        file transfers, etc., ANSIPLAY will still process the file:
  394.  
  395.        ANSIPLAY will detect the non-existance of the ESC characters when
  396.        none are found within the first block of characters read.  Then it
  397.        will determine the alternate character automatically by locating
  398.        the first "[" occurance in the file and using the character prior
  399.        to the "[" as the alternate character.  ANSIPLAY will then auto-
  400.        matically replace every occurance of this alternate character
  401.        with the ESC character.
  402.  
  403.        If character replacement is used this way, the display rate may
  404.        be slightly slower, but barely noticeable.
  405.  
  406.  
  407.        MUSIC STRING SYNTAX
  408.        -------------------
  409.        Once your ANSI file has been created, all that's left to do to
  410.        make it musical is add a few extra escape command sequences, for
  411.        example, a music code of...
  412.  
  413.                   ESC[MF O2 CDEC CDEC EFG.... EFG....(music note)
  414.  
  415.        would play the introduction to the song "Frere Jacques".
  416.  
  417.        Below is a breakdown of how the music strings are to be used.
  418.        By using your own text editor, you can insert these codes into
  419.        any desired location in your ANSI file, then play it back using
  420.        ANSIPLAY.EXE. 
  421.  
  422.        (see section below on using ESC character during editing)
  423.        
  424.  
  425.        MUSIC STRING CONTENTS
  426.        ---------------------
  427.        The word "string" simply means a set of characters (including
  428.        spaces and ascii characters) strung together.
  429.        
  430.  
  431.  
  432.  
  433.  
  434.  
  435.                                    * Page 7 *
  436.        
  437.  
  438.  
  439.        There are 3 sections to a Music string, broken down as follows:
  440.        
  441.                   ESC[MF   CDEC CDEC EFG  (music note)
  442.                   ------   -------------  ------------
  443.                     1           2         3
  444.        All music strings must be prefixed with ESC+"["+"MF" (or "MB") in
  445.        upper-case text, and final character must be a (music note).
  446.        
  447.        1.  Music strings are prefixed with the ESCape character followed
  448.            by a [ character (just like ansi escape control sequences),
  449.            and then followed by MF (for Music/Sound to be played in
  450.            Foreground) or MB (for Music to be played in Background).
  451.  
  452.                *Or for a shortcut you may use ESC[M which will 
  453.                 be treated as ESC[MF.
  454.        
  455.            *** Note that the ESC above actually resembles the ESCAPE
  456.            character (Decimal CHR$(27)) and not the actual letters
  457.            E S C.  Refer to the section on "Using the ESC character
  458.            during editing".
  459.        
  460.        2.  The middle part of the string can be 1 of 2 types of
  461.            commands...
  462.            
  463.  
  464.                      Music Codes
  465.                      -----------
  466.                  a)  the actual <notes, octaves, etc> specification
  467.                      (for musical tunes).
  468.        
  469.                      Spaces and carraige returns (CR-LF) are ignored.
  470.                      This portion of the music string can be of any
  471.                      size length.  
  472.                                          -or-
  473.                      Sound Codes
  474.                      -----------
  475.                  b)  a <tone frequency; duration; cycles; delay; vari>
  476.                      specification (for other sound tones and
  477.                      repeated cycles of sound tones).
  478.        
  479.                      Parameters must be separated by semi-colons.
  480.        
  481.            Details on these codes and command syntax will be discussed
  482.            shortly.  There is also a reference listing of the codes in
  483.            the file MUSICODE.TXT (see section on "printing the manual").
  484.        
  485.            3.  The final(music note) (Decimal CHR$(14)) is a must.
  486.                This tells ANSIPLAY where the music string ends.  The
  487.                (music note) character can be entered on most text editing
  488.                programs by holding down the [ALT] key, then typing the
  489.                number 14...similarly to entering the ESC character.
  490.                (See "Using the ESCape character during editing")
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.                                    * Page 8 *
  498.  
  499.  
  500.  
  501.                      -------------------------------
  502.                             USING MUSIC CODES
  503.                      -------------------------------
  504.  
  505.           ESC[MF <music notes and commands)> (music note)
  506.           (MB may be used in place of MF)
  507.        
  508.           Example:  ESC[MF CDEC CDEC EFG (music note)
  509.        
  510.        MF will play the music in the foreground, or in other words will
  511.        stop displaying temporarily until the music string is played
  512.        completely.
  513.        
  514.        MB will place the music string into a buffer, allowing the
  515.        program to execute while the music string is playing in the
  516.        background.  
  517.  
  518.        The number of notes that can be played in the background at 
  519.        one time varies according to the particular machine.  Maximum 
  520.        number of notes that can be played in the background at one 
  521.        time is 32.  
  522.  
  523.        When there are more notes to be played than the buffer will hold, 
  524.        the display will temporarily pause until the remainder of the 
  525.        music string is processed.
  526.        
  527.        More than 1 MB statement in the music string will cause the
  528.        music to be played sequentially (NOT simultaneously.)  In other
  529.        words, you cannot play 2 or 3 strings of music simultaneously.
  530.        If a carraige return (CR-LF) is needed within the music string,
  531.        ANSIPLAY will ignore it and just continue playing.  This feature
  532.        was developed so that user's could use L-O-N-G strings of music
  533.        without interruption.
  534.        
  535.        A breakdown of MUSIC CODES available are listed in the file
  536.        MUSICODE.TXT. (refer to section on "Printing the Manual").
  537.        You may also consult your DOS user's manual under the section
  538.        on BASIC's "PLAY" statement.
  539.        
  540.        See the demonstration ANSI files included with this package
  541.        for some examples of how MUSIC CODES may be used.
  542.        
  543.        
  544.                -----------------------------------------------                  
  545.                  USING SOUND CODES (IN PLACE OF MUSIC CODES)
  546.                -----------------------------------------------
  547.  
  548.        In place of music codes, you may use numeric values for FREQENCY,
  549.        DURATION, CYCLES, DELAY and VARIATION to create sounds that are
  550.        not available with musical code syntax.  Another way to use them
  551.        is to place them next to music strings that contain music codes
  552.        to add glissando, rythmatic sounds, tapping, beeping, or whatever
  553.        sounds you'de like to create.  A music string containing SOUND 
  554.        CODES would look like this:
  555.        
  556.          ESC[MF <FREQ; DURA; CYCLES; DELAY; VARI> (music note)
  557.  
  558.  
  559.                                    * Page 9 *        
  560.  
  561.  
  562.  
  563.          Example:  ESC[MF 100;5;5;10;-5 (music note)
  564.        
  565.        The <> brackets are not to be typed.  They are only there for
  566.        display purposes to you can see where the <SOUND CODES> are to be
  567.        placed.
  568.        
  569.        Since SOUND CODES are processed differently from MUSIC CODES,
  570.        SOUND will always be played in foreground regardless of "MF"
  571.        or "MB" specification.
  572.        
  573.        SOUND CODE Parameters must be separated by semicolons.
  574.        
  575.        Minimum/Maximum values and descriptions are as follows:
  576.        
  577.              FREQUENCY          :  a numeric value from 37 to 32,767
  578.                 Frequency is the desired frequency in hertz.
  579.                 This allows more control over the pitch of the
  580.                 tone than what is available with music codes.
  581.        
  582.              DURATION           :  an numberic value from 0 to 65,535
  583.                 Duration is how long the tone should play, measured
  584.                 in clock ticks. There are 18.2 clock ticks per second
  585.                 regardless of CPU speed.
  586.        
  587.              CYCLES (optional)  :  an integer from 0 to 9,999
  588.                 Cycles is the number of times to repeat the    
  589.                 frequency/duration.
  590.  
  591.              DELAY  (optional)  :  an integer from 0 to 999,999,999
  592.                 Delay is the length of pause between cycles.
  593.                 ANSIPLAY will count from 0 to DELAY before proceeding.
  594.  
  595.                 The DELAY time lapse will vary among computer systems.
  596.                 (My XT NEC V20 averages 723 counts per second)
  597.  
  598.                 If the [ENTER] key is hit during execution of a DELAY,
  599.                 the delay will be ended.
  600.  
  601.              VARIATION (optional):  an numeric value from -9,999 to 9,999
  602.                 Variation will change the FREQUENCY each time the tone
  603.                 is repeated using the CYCLES variable.  FREQUENCY will
  604.                 use it's current value, add the VARIATION value to 
  605.                 itself (per cycle) to get a new FREQUENCY, then play
  606.                 the new FREQUENCY.
  607.  
  608.                 A negative value used for VARIATION will make the
  609.                 FREQUENCY decrease; a positive value will make the
  610.                 FREQUENCY increase.  If the new FREQUENCY is too low
  611.                 or too high, exceeding its playable limits (minimum of
  612.                 37 to maximum 32,767) then the VARIATION value will be
  613.                 changed to reverse itself (from positive to negative,
  614.                 or from negative to positive).
  615.  
  616.                 A "*" wildcard may be used in place of a value, which
  617.                 will make the play function select a value at random
  618.                 between -999 and 999.
  619.  
  620.  
  621.                                    * Page 10 *        
  622.  
  623.  
  624.  
  625.        Any non-integer numbers used for CYCLES or DELAY will be
  626.        converted to integers automatically.
  627.  
  628.        SOUND CODES are interpreted and executed as they are read,
  629.        therefore requiring them to be played in the foreground.
  630.  
  631.        The interpretation process is basically structured like this:
  632.  
  633.         :START_OF_CYCLE
  634.          Play Frequency/Duration
  635.          Add DELAY if applicable
  636.          Change Frequency if VARIATION is used
  637.          Go to :START_OF_CYCLE (Loop for number of CYCLES specified)
  638.  
  639.        See the demonstration ANSI files included with this package
  640.        for some examples of how SOUND CODES may be used.
  641.  
  642.  
  643.        VARIATION IN MUSIC STRING FORMATS
  644.        ---------------------------------
  645.        Although there are several ANSI viewers on the market which
  646.        support music, there is currently no "standard" as to the format
  647.        used with the music strings.
  648.  
  649.        Some viewers will not support music strings of a length longer
  650.        than 71 characters.  Some viewers use a Prefix with ESC[M while
  651.        others use ESC[MF or ESC[MB.  Some viewers will support music,
  652.        but only if it's the final text of the file, not if it's
  653.        integrated into the file.
  654.  
  655.        Many viewers will not support one continuous music string thus
  656.        requiring the string to be broken into segments.  This may cause
  657.        the music to sound choppy when it's played.
  658.  
  659.        ANSIPLAY will support all of the above formats, along with
  660.        unlimited music string length and sound codes. Though if you
  661.        wish to use another viewer, you will need to consult the
  662.        documentation included with the program regarding the required
  663.        format for that program.  Sound codes, however, will most likely
  664.        not be supported as they are a new concept just released by the
  665.        author of ANSIPLAY.  Hopefully, they will soon be supported by
  666.        other ANSI viewers as well.
  667.  
  668.  
  669.        TUTORIAL FOR MUSIC STRINGS
  670.        -------------------------
  671.        Now that you are somewhat familiar with music code and sound
  672.        codes...you can see a more detailed explaination of some
  673.        of the more advanced way in which these codes can be used
  674.        by typing  TUTOR  at the DOS prompt.  This will ansiplay the
  675.        file TUTOR.ANS which will give some examples and define how
  676.        they are used.  Then it will bring you into ANSIAUTO to display
  677.        the demonstration ANSI files which are included with the program
  678.        package.
  679.  
  680.  
  681.  
  682.  
  683.                                    * Page 11 *
  684.  
  685.  
  686.  
  687.      MAKING THE MUSIC STRINGS INVISIBLE
  688.        ----------------------------------
  689.        Since the music strings are interpreted by ANSIPLAY while the
  690.        file is being read, the music string text is not displayed to
  691.        the screen.  However, if you also wish to not display the strings
  692.        while using DOS's TYPE command to view the file, this may be done
  693.        by adding a few extra ANSI escape command sequences.
  694.  
  695.        Before the music code, add:
  696.        ---------------------------
  697.          ESC[0m ESC[s ESC[?;1H ESC[8m
  698.          (text is upper/lower-case sensitive)
  699.  
  700.          Spaces should not be typed...they are only here to make the
  701.          codes easier to read.
  702.  
  703.          Here is the breakdown:
  704.  
  705.          ESC[0m    Turns all attributes off.  If the display is in
  706.                    high intensity mode, this is required.
  707.  
  708.          ESC[s     Store the current cursor position.
  709.  
  710.          ESC[?;1H  Wherein ? would be the current row number.  Any row from
  711.                    1-24 may be used, however if the cursor has to move 
  712.                    all the way across the display, it may cause blinking.
  713.  
  714.                    "1" sets the cursor at column 1.  Even though the text
  715.                    will be invisible, it will still be printed to
  716.                    screen.  If the end of screen is reached, the text
  717.                    will be wrapped around to the next row.  If you are
  718.                    using long music strings and it is causing the
  719.                    display to eject upward, you may try using shorter
  720.                    strings of about 75 characters or so at a time.
  721.  
  722.          ESC[8m    This will make the music string invisible when it is
  723.                    written to screen. Otherwise it will be written to
  724.                    screen in the current color attributes.
  725.  
  726.  
  727.        After the music code, add:
  728.        --------------------------
  729.          ESC[u ESC[0m
  730.          (text is upper/lower-case sensitive)
  731.  
  732.          Spaces should not be typed...they are only here to make the
  733.          codes easier to read.
  734.  
  735.          Here is the breakdown:
  736.  
  737.          ESC[u     Moves the cursor back to the location it was at
  738.                    when the last ESC[s command (store cursor) was used.
  739.  
  740.          ESC[0m    Returns to normal mode.  Turns off invisible
  741.                    attribute.
  742.  
  743.  
  744.  
  745.                             * Page 12 *
  746.  
  747.  
  748.  
  749.        The entire set of commands would look like this...
  750.  
  751.        ESC[0m ESC[s ESC[?;1H ESC[8m ESC[MF<music string>
  752.                                                 (music note) ESC[u ESC[0m
  753.  
  754.        Remember, making the music codes invisible is only necessary if 
  755.        you wish to use an ANSI display program other than ANSIPLAY.
  756.  
  757.  
  758.        USING THE ESCAPE CHARACTER DURING EDITING
  759.        -----------------------------------------
  760.        If you use DOS's edlin command for text editing, you will not be
  761.        able to enter an ESCape character (ASCII character CHR$(27)),
  762.        since hitting ESCape will type a \ character instead.  
  763.  
  764.        Most word/text editing programs will allow you to enter an ESCape
  765.        character by holding down the [ALT] key, then simultaneously
  766.        entering the number 27.  Usually this is displayed as a left
  767.        arrow character. (Music note would be [ALT] + 14).
  768.        
  769.        If you use a commercial word processor such as Word Perfect or
  770.        Word Star, the text must be saved as plain ASCII text format.  
  771.        
  772.        Otherwise there will be extra printer codes embedded into the
  773.        file which will mess up the whole thing.
  774.        
  775.        If you do not have a text editor, I recommend a Shareware
  776.        program called QEDIT.  It's very powerful and does allow extended
  777.        ASCII characters.
  778.  
  779.        The (music note) character may be entered the same way as the
  780.        ESCape character by using the decimal 14 instead of 27.
  781.  
  782.  
  783.        GETTING FAMILIAR WITH ANSIPLAY
  784.        ------------------------------
  785.        To see the demonstration files, at the DOS prompt type DEMO.
  786.        To get familiar with the program and included files, type GO.
  787.        
  788.        
  789.        RUNNING ANSIPLAY
  790.        ----------------
  791.        Syntax from the DOS prompt is as follows:
  792.        
  793.               ANSIPLAY [Path\FileName DelaySeconds] [/Option Flags]
  794.                                                                         
  795.        (If no parameters/options are used, ANSIPLAY will default
  796.        to the /L option as described below, which will automatically
  797.        bring up a file(s) listing menu to work from.)
  798.  
  799.        Parameters are:
  800.        [Path\Filename]
  801.            is the drive\directory\filename of the ansi file you wish to
  802.            display/play.  Wildcard characters * and ? are not supported.
  803.  
  804.            If no filetype is given, then ANSIPLAY will append the
  805.            filetype of ".ANS" to the filename.
  806.  
  807.                                    * Page 13 *
  808.  
  809.  
  810.  
  811.            If no drive\path is given, then ANSIPLAY will search the
  812.            currently logged (default) drive\path for the ANSI file.
  813.                                                                         
  814.            If the /L option is used (as describes below), only use a
  815.            [Drive:\Directory\] Path specification.  Any filename.type
  816.            specified will be ignored.
  817.  
  818.        [ DelaySeconds]
  819.            is the number of seconds to delay program execution.  This
  820.            option is used for ANSIAUTO (automatic slide show present-
  821.            ation of ansi files).  If this option is used, the number of
  822.            seconds must be preceeded with a space ( ).
  823.        
  824.            While using ANSIAUTO, there will be a pause of DelaySeconds
  825.            between displays of ANSI files.
  826.        
  827.        [Options] are as follows:
  828.        <Multiple option flags may be used in any order>     
  829.        
  830.            /C  (ClearScreen) clears the screen before displaying the
  831.                ANSI file.
  832.        
  833.            /H  (Help) Displays a brief help screen for ANSIPLAY syntax.
  834.  
  835.            /Q  (Quiet) Disables the music and sound during display
  836.                of the ANSI file.  /Q option does NOT disable a
  837.                DELAY parameter (Sound Code) if one exists.
  838.        
  839.            /D  (Delete) Prompts user if ANSI file is to be deleted after
  840.                display.
  841.                     
  842.                This option was designed for those who use off-line mail
  843.                readers.  The mail read can save the message to a temp-  
  844.                orary file, and then Shell out to DOS to ANSIPLAY it. 
  845.                Then the /D option will allow you to delete the temporary
  846.                file.
  847.        
  848.                After the file display has been completed, if you decide
  849.                not to delete the file, ANSIPLAY will ask if you want to
  850.                rename the file.  At this time, if you answer "Y" (yes),
  851.                you will be asked for the new filename. (Note: the option
  852.                to Delete/Rename will be bypassed if the display is
  853.                interrupted by hitting the ESCape key).
  854.  
  855.                When asked to Delete or Rename, hitting the [ENTER] key
  856.                will assume the default of "[N]o".
  857.  
  858.            /L  (List) will create a listing of all files with the
  859.                extension of ".ANS" that are located in the specified
  860.                drive\directory.  If no drive\directory is specified,
  861.                then the current drive\directory will be used.
  862.  
  863.                When using the /L option, do NOT enter any file
  864.                specifications such as *.*, *.ANS, but rather
  865.                specify the drive\directory only, for example:
  866.  
  867.  
  868.  
  869.                                    * Page 14 *
  870.  
  871.  
  872.  
  873.                         ANSIPLAY C:\ANSI /L
  874.                               -or-
  875.                         ANSIPLAY C:\ANSI\ /L
  876.  
  877.                A listing will then be alphabetized into a box which you can
  878.                use page up/down to view.  To select the file you want to
  879.                ANSIPLAY, simply type in the number which is found to the
  880.                left of the file name and hit [ENTER].
  881.  
  882.                After the file is displayed/played, the file selection screen
  883.                will return for your next selection.
  884.  
  885.                The /L option will support up to 475 file names.  If more
  886.                than 475 records are found, they will not be acknowledged
  887.                and the message "475+ records found" will be displayed.
  888.                The "+" notates the overage.
  889.  
  890.                Options Flags /C /D and /Q may be toggled on/off by
  891.                hitting...
  892.  
  893.                       C - for ClearScreen toggle
  894.                       D - for Delete toggle
  895.                       Q - for Quiet toggle
  896.  
  897.                You may also use the [F1] function key to change
  898.                drive\directory of the files you want to view.
  899.                (This option is only available in registered versions
  900.                of ANSIPLAY).  If you change to a drive\directory is
  901.                invalid, the program will be terminated.
  902.  
  903.                The Delete option will allow you to view the file before
  904.                asking if you want to delete it.  If you answer No, you
  905.                will then be given a chance to rename the file.
  906.  
  907.                Note: the /L option will not work with ANSIAUTO, but
  908.                rather, it will be ignored.
  909.  
  910.        If you want the freedom to use the ANSIPLAY command while logged
  911.        onto ANY drive\directory, just add the name of the directory in
  912.        which ANSIPLAY exists to DOS's search PATH.  (Consult your DOS
  913.        user's manual for more information on how to do this).
  914.        
  915.        This can also be done by using the installation program
  916.        (INSTALL.EXE).
  917.  
  918.        To exit ANSIPLAY at any time, press the [ESC] key.
  919.  
  920.  
  921.        REINITIALIZING THE DISPLAY SCREEN (ANSIPLAY.CLS)
  922.        ------------------------------------------------
  923.        Once ANSIPLAY has completed displaying/playing the ANSI file,
  924.        there may have been several changes made to the screen display
  925.        such as screen mode, color attributes, etc.
  926.  
  927.        To reinitialize the display to your desired settings, simply
  928.        create a file called ANSIPLAY.CLS containing the desired
  929.        ANSI escape command sequences. ("CLS" for "Closing Screen")
  930.  
  931.                                    * Page 15 *
  932.  
  933.  
  934.  
  935.        This can be done with the installation program (INSTALL.EXE) or
  936.        by using your own text editor.
  937.  
  938.        This file is optional.  If ANSIPLAY.CLS file does not exist,
  939.        then the only reset code which is automatically executed is 
  940.        ESC[0m which turns all attributes off and returns to normal 
  941.        display.
  942.  
  943.        If the file ANSIPLAY.CLS does exist, the ESC[0m will be 
  944.        ignored regardless of whether the file contains escape command
  945.        sequences or is empty.
  946.  
  947.        An example of how this file might be used is to:
  948.  
  949.        ESC[=3l          'reset the screen mode to 80 x 25 color
  950.        ESC[0m           'all attributes off, normal display
  951.        ESC[44;1;33m     'set colors: bright yellow on blue background
  952.        ESC[2J           'clear screen
  953.  
  954.        thus the contents of ANSIPLAY.CLS would actually be:
  955.  
  956.        ESC[=3lESC[0mESC[44;1;33mESC[2J
  957.  
  958.        (ESC resembles the actual ESCape character which must be used).
  959.  
  960.        Refer to the files ANSIPLAY.DOC and ANSICODE.TXT for more details
  961.        on the actual ANSI codes to use.
  962.  
  963.        It is recommended that no other text, music codes, etc. are 
  964.        included in this file, since they will be displayed after 
  965.        each ANSI file display.
  966.  
  967.  
  968.        REMOVING MUSIC STRINGS (MUSCSTRP.EXE)
  969.        -------------------------------------
  970.        If wish to remove all existing music strings from the ANSI file,
  971.        at the DOS prompt type   MUSCSTRP FILENAME.ANS
  972.  
  973.        MUSCSTRP (Music Strip) will create a new file using the same
  974.        filename, but with the file extension of .NEW
  975.  
  976.        The MUSCSTRP program must be able to locate ANSIPLAY.EXE either
  977.        in the current directory, or in DOS's PATH setting.
  978.  
  979.  
  980.        HOW ANSIAUTO WORKS
  981.        ------------------
  982.        ANSIAUTO will read the contents of the data file you specify
  983.        on the command line.
  984.        
  985.        (See "RUNNING ANSIAUTO" regarding DataFile Structure)
  986.        Once the data is loaded into memory, ANSIAUTO will shell to DOS
  987.        and execute the ANSIPLAY command (with any optional parameters
  988.        which are specified) per file.  
  989.  
  990.        Each file will be displayed (played) in sequence.  If a 
  991.        DelaySeconds parameter was specified, the program will pause 
  992.  
  993.                                    * Page 16 *
  994.  
  995.  
  996.  
  997.        after the file is displayed for the set number of seconds, and 
  998.        then continue onto the next file.
  999.        
  1000.        Once all the files have been displayed, ANSIAUTO will start
  1001.        the sequence over again (and again...).
  1002.        
  1003.  
  1004.        RUNNING ANSIAUTO 
  1005.        ----------------
  1006.        Syntax is as follows:  ANSIAUTO DRIVE\PATH\FILENAME.DAT
  1007.        If no filetype is given, then ANSIAUTO will append the
  1008.        filetype of ".DAT" to the filename.
  1009.  
  1010.        To EXIT ANSIAUTO, hit the ESCape key on the keyboard.  ANSIPLAY
  1011.        will not respond until the file display/play is completed.  At
  1012.        that time, the program will exit and return to DOS.
  1013.  
  1014.        Data file structure
  1015.        -------------------
  1016.        Each line of the file contains the same specifications as would
  1017.        normally be entered on the DOS command line when executing
  1018.        ANSIPLAY.  An example datafile might look like this:
  1019.        
  1020.                  C:\ANSI\MERMAID.ANS,3 /C      
  1021.                  D:\DRAW\CASTLE.ANS,2 /C       
  1022.                  C:\UTILS\FIREMAN.ANS /C /Q    
  1023.                     .      .      .           
  1024.                     .      .      .           
  1025.                    etc.   etc.   etc.         
  1026.        
  1027.        As mentioned before, unregistered versions of the program will
  1028.        display the "ANSIPLAY [Unregistered Version] Copyright 1991, J.
  1029.        Ibarra" message after each file is display/played.  Registered
  1030.        versions do not have this message.
  1031.        
  1032.        Maximum number of files that can be used for slideshow is 30.
  1033.        If the data file contains more than 30 filenames, they will be
  1034.        ignored. If 30 is not enough, let me know and I can increase it.
  1035.        
  1036.  
  1037.        USING PLAY.EXE (Music String Player/Editor)
  1038.        -------------------------------------------
  1039.        Syntax is: PLAY [options] <* MUSIC CODES or SOUND CODES>
  1040.  
  1041.            *The prefix of ESC[ and suffix of (music note) are not
  1042.             required on the DOS command line.
  1043.  
  1044.        Wherein [options] are:
  1045.              <* MUSIC/SOUND CODES> - plays the <music/sound codes>
  1046.                                 /E - for music string editor
  1047.           /E <* MUSIC/SOUND CODES> - loads <music/sound codes> into the editor
  1048.                                 /R - to repeat last-played music string
  1049.                              /R /E - loads last string played into editor
  1050.                                      [options] may be in any order
  1051.  
  1052.  
  1053.  
  1054.                                    * Page 17 *
  1055.  
  1056.  
  1057.  
  1058.        If you want to experiment with music/sound codes, PLAY.EXE is
  1059.        the quickest way to do it.  PLAY.EXE has two ways of working...
  1060.  
  1061.                1: It will allow you to play music codes directly from
  1062.                   the DOS prompt.
  1063.                2: It will allow you to edit, then play, the re-edit, etc.
  1064.                   music strings, and write to file.
  1065.  
  1066.             If MF or MB is not specified, default is set for MF.
  1067.  
  1068.        See sections on "Using Music Codes" and "Using Sound Codes"
  1069.        for more information on Music String Syntax.
  1070.  
  1071.           --- TO PLAY THE MUSIC CODES DIRECTLY FROM THE DOS PROMPT ---
  1072.  
  1073.        Playing a music/sound codes directly from the DOS prompt is
  1074.        easy.  An example would be, to hear the beginning of Frere Jacques
  1075.        (ESC[MF O2 CDEC CDEC EFG.... EFG....(music note)), at the DOS
  1076.        prompt, you would type the command line:
  1077.                   PLAY O2 CDEC CDEC EFG.... EFG....
  1078.  
  1079.        or to hear a bomb dropping, you might type:
  1080.                        PLAY 900;1;120;;-5
  1081.  
  1082.        Note that the > and < characters cannot be used from the DOS
  1083.        prompt because DOS will interpret these as piping character.
  1084.        Optionally you can set the octave with On wherein n is the
  1085.        value (0-6) of the Octave you desire.   Default octave is 4.
  1086.  
  1087.        Before playing the music string, PLAY.EXE will check for any
  1088.        letters that are NOT valid music code characters.  If an
  1089.        invalid letter is found, you will receive the error message
  1090.        "Illegal play string".  
  1091.  
  1092.        Play will then take you directly into the music string editor.
  1093.        If the string has a length greater than 73 characters, the string
  1094.        will be trimmed to 73 characters so that it will fit into the 
  1095.        editor.  If this happens, a message will appear to notify you.
  1096.  
  1097.        /Repeat option (from the DOS prompt):
  1098.        -------------------------------------
  1099.        PLAY will automatically store the last music string played ,if
  1100.        one exists, to a temporary file named PLAY.##.
  1101.  
  1102.        If no music string exists upon exiting PLAY, the last music
  1103.        string will NOT be overwritten with a blank music string.  This
  1104.        way if you decide you don't want to keep your edited changes,
  1105.        you can simply hit [CTRL]-[Backspace] to erase them, then upon
  1106.        exiting PLAY there will be no changes made to the PLAY.## file.
  1107.  
  1108.        The /R option will allow you to repeat the music string by either
  1109.        using it at the DOS prompt, or loading it into the music string
  1110.        editor (see below).
  1111.  
  1112.        To repeat the last string from the DOS prompt, type PLAY /R.
  1113.        If the /R option is used, any included <music string> on the
  1114.        DOS command line will be ignored.
  1115.  
  1116.                                    * Page 18 *
  1117.  
  1118.  
  1119.  
  1120.                     --- TO USE THE MUSIC STRING EDITOR ---
  1121.  
  1122.        The music string editor is the more useful feature of PLAY.EXE.
  1123.        It will allow you to play Music Codes or Sound Codes, then
  1124.        edit them on the screen, replay them, etc.
  1125.  
  1126.        Once you have the music/sound codes exactly as you want them, you
  1127.        can then save them to file.
  1128.  
  1129.        The /E option will activate the editor.  At the DOS prompt, you
  1130.        may optionally enter the music string you wish to edit .
  1131.  
  1132.        Music String Editor commands are as follows:
  1133.  
  1134.                          Move Cursor: LEFT/RIGHT arrow keys
  1135.        Delete Character above cursor: DEL key
  1136.         Move cursor to 1st character: HOME key
  1137.         Move cursor to end character: END key
  1138.            Erase entire music string: CTRL+Backspace
  1139.           Write music string to file: CTRL+W
  1140.        Toggle prefix of "MF" or "MB": TAB key
  1141.                        Exit PLAY.EXE: ESC key
  1142.  
  1143.        If the music string contains characters which cannot be
  1144.        played, you will receive an error message "Illegal play string".
  1145.        It will then return to the editor so you can make your changes.
  1146.  
  1147.        The write option will write the music string to a file named
  1148.        "PLAY.MUS".  (Note this is a different file from the PLAY.##
  1149.        temporary file).  The ESC[MF prefix and (music note) character
  1150.        suffix will automatically be added.
  1151.  
  1152.        If there are pre-existing music strings, the new music string
  1153.        will be appended (not overwritten).
  1154.  
  1155.        /Repeat option (with the Editor):
  1156.        ---------------------------------
  1157.        The /R option will allow you to (Repeat) load the last-played
  1158.        music string into the editor by typing PLAY /R /E at the DOS
  1159.        prompt.
  1160.  
  1161.        If the last-played music string is longer than 73 characters in
  1162.        length, PLAY will trim the string to 73 characters so it will fit
  1163.        into the editor.  (If the last character is an "M", it too will
  1164.        be trimmed to avoid sending the PLAY function into oblivion).
  1165.  
  1166.        If the /R option is used, any included <music string> on the
  1167.        DOS command line will be ignored.
  1168.  
  1169.        REGISTRATION OF ANSIPLAY
  1170.        ------------------------
  1171.        User's who register their copy of ANSIPLAY will receive a new
  1172.        copy of the most current version of the program and included
  1173.        utilities.
  1174.  
  1175.  
  1176.  
  1177.  
  1178.                                    * Page 19 *
  1179.  
  1180.  
  1181.  
  1182.        Advantages of registration are:
  1183.  
  1184.        1.  Registered versions will NOT interrupt the ANSI display with
  1185.            the copyright message at the bottom of the screen.
  1186.  
  1187.        2.  The [F1] function used to change Drive\Directory will be
  1188.            fully functional from the file listings menu.
  1189.  
  1190.        3.  Registered users will automatically be notified when an updated
  1191.            version is released.
  1192.  
  1193.        4.  Registered users may purchase future updated versions for
  1194.            only $5.00 each (plus postage and handling).
  1195.        
  1196.        If you wish to register your copy, you may print the registration
  1197.        form by typing      COPY ORDER.FRM PRN       at the DOS prompt.
  1198.        
  1199.        Fill out the registration form and enclose required payment in
  1200.        check or money order (no cash please) and mail to:
  1201.        
  1202.                        Julie M. Ibarra
  1203.                        P.O. Box 710727 
  1204.                    Santee, CA  92072-0727
  1205.        
  1206.        To print the registration form, at the DOS prompt, type:
  1207.  
  1208.                       COPY ORDER.FRM PRN
  1209.  
  1210.         ---------------------------------------------------------------
  1211.  
  1212.  
  1213.   ========== APPENDIX I - TROUBLE SHOOTING (INSTALLATION) ===========
  1214.  
  1215.        Problem:
  1216.            When I entered the letter of the boot drive, the program
  1217.            said "Logging onto boot drive..." and never returned.
  1218.  
  1219.        Reason:
  1220.            INSTALL will try to access the drive you specified.  If
  1221.            the drive is invalid or unaccessible, the program will be
  1222.            sent into infinity.
  1223.  
  1224.        Solution:
  1225.            Reboot, and try again...this time being sure the drive is
  1226.            valid and accessible.
  1227.  
  1228.  
  1229.        Problem:
  1230.            When INSTALL went to access my CONFIG.SYS, AUTOEXEC.BAT or
  1231.            ANSIPLAY.CLS files, it returned an error message.
  1232.  
  1233.        Solution(s):
  1234.            - Be sure that the CONFIG.SYS and AUTOEXEC.BAT files are on
  1235.              the drive\directory you specified.
  1236.  
  1237.  
  1238.  
  1239.  
  1240.                                    * Page 20 *
  1241.  
  1242.  
  1243.  
  1244.            - Be sure the drive\directory you specified is valid and
  1245.              accessible.  Files that are read-only are not accessible
  1246.              and will return an error message.
  1247.  
  1248.            - Be sure the specified drive has enough disk space to write
  1249.              the updated data onto.
  1250.  
  1251.        Problem:
  1252.            When I reboot, there was an error in CONFIG.SYS file.
  1253.  
  1254.        Reason:
  1255.            INSTALL.EXE seaches the CONFIG.SYS file for an exact match
  1256.            of drive\directory\filename in which the ANSI device driver
  1257.            exists.  The device driver may have already been installed
  1258.            under a different drive\directory than the one you specified.
  1259.  
  1260.            Since the path's do not match, INSTALL.EXE assumes that the
  1261.            driver is NOT installed therefore installing it twice.  When
  1262.            the system is re-boot, the driver is installed twice thus
  1263.            causing the error.
  1264.  
  1265.        Solution:
  1266.            Use your text editor to remove the incorrect text line.
  1267.  
  1268.  
  1269.        Problem:
  1270.            When entering the drive\directory to locate a file, the
  1271.            program sometimes will not accept my keyboard input.
  1272.  
  1273.        Reason:
  1274.            The program has a built-in feature which checks for proper
  1275.            pathname syntax during user-interaction.  For example, if
  1276.            during a "\" character creates a situation where two "\\"
  1277.            characters are found, the program will not accept the
  1278.            improper format.
  1279.  
  1280.        Solution:
  1281.            Turn off INSert mode if necessary (by hitting the INS key),
  1282.            and type it in properly.  The automatic syntax checking will
  1283.            be removed in the next updated version to help simplify user
  1284.            input.
  1285.  
  1286.  
  1287.        Problem:
  1288.            When the PATH setting is changed, the new PATH is displayed
  1289.            on screen.  Before INSTALL.EXE changes the PATH setting, it
  1290.            tries to find an existing PATH in the AUTOEXEC.BAT file.
  1291.            This is done by searching for the FIRST occurence of the
  1292.            text "PATH " (PATH followed by a space), or "PATH=" (PATH
  1293.            followed by an equal sign.
  1294.  
  1295.            If by fluke chance there is another line of text in the
  1296.            AUTOEXEC.BAT file, INSTALL.EXE will think this was the line
  1297.            to be changed and alter it.
  1298.  
  1299.        Solution:
  1300.            Use your own text editor to fix the line of text which should
  1301.            not have been altered.  Then, if you're unsure how to change
  1302.                                    * Page 21 *
  1303.  
  1304.  
  1305.  
  1306.            the actual PATH setting, just move the line of text which
  1307.            contains the PATH setting to the beginning of the file, and
  1308.            re-run install.
  1309.  
  1310.  
  1311.  ========== APPENDIX II - TROUBLE SHOOTING (MUSIC STRINGS) ===========
  1312.  
  1313.        Problem:
  1314.            I keep getting the error message "Illegal string in
  1315.            PLAY parameters".
  1316.  
  1317.        Solution:
  1318.            Consult the documentation to be sure the values used
  1319.            in your MUSIC CODE's and/or SOUND CODE's are valid.  If
  1320.            the problem still persists, and the parameters are indeed
  1321.            valid, contact the programmer.
  1322.  
  1323.        Another Solution:
  1324.            It's possible that the letter O was used in place of the
  1325.            number 0 (zero), or visa-versa in the MUSIC CODE's and/or
  1326.            SOUND CODE's.  It's very easy to mix these up.
  1327.  
  1328.        Another Solution:
  1329.            It's possible that the music note characters, [CHR$(14)] was
  1330.            not included in the music string.  Consequently, the program 
  1331.            will read the entire file until it encounters the music note.
  1332.            If no music note is found, it will append a music note at the
  1333.            end and try to play the string.
  1334.            
  1335.  
  1336.        Problem:
  1337.            Why do I get an "Illegal play string" error?
  1338.  
  1339.        Reason:
  1340.            Something in the play string is not valid.  This could be
  1341.            caused by using a note that does not exist such as
  1342.            B#, H, etc.; or using a value which is not within set limits
  1343.            for octave, tempo, etc. such as O7; or using an invalid
  1344.            character which is not a music code/sound code character.
  1345.  
  1346.  
  1347.        Problem:
  1348.            My text editor will not allow me to enter the ESCape char-
  1349.            acter (or music string character) into the ANSI file.
  1350.  
  1351.        Solution:
  1352.            Some editors (though few) do not have this ability.  Refer
  1353.            to the section "Using the ESC character during editing".
  1354.            If this still doesn't help...if your editor has a cut-and-paste
  1355.            feature, you might try duplicating the ESC character this way.
  1356.            If all else fails, try another editor.  There is a fantastic
  1357.            Shareware text editor that is very intelligent called "QEDIT".
  1358.  
  1359.  
  1360.    ========== APPENDIX III - TROUBLE SHOOTING (ANSIPLAY) ===========
  1361.  
  1362.        Problem: 
  1363.            Lots of strange characters (garbage) on the screen.
  1364.                                    * Page 22 *
  1365.  
  1366.  
  1367.  
  1368.        Solution:
  1369.            Be sure that the ANSI.SYS driver is installed into your
  1370.            CONFIG.SYS file  (See section on "About ANSI.SYS").
  1371.  
  1372.  
  1373.        Problem:
  1374.            The program ignores my efforts to escape during the
  1375.            displaying of my ANSI file.
  1376.  
  1377.        Reason:
  1378.            ANSIPLAY reads and processes large portions of the ANSI file
  1379.            at a time.  The output of these portions may be as large as
  1380.            the whole display screen.  Since the printing of these portions
  1381.            cannot be interrupted, ANSIPLAY and ANSIAUTO will not respond
  1382.            to using the ESCape key until the entire portion has been
  1383.            processed.
  1384.  
  1385.  
  1386.        Problem:
  1387.            When I use "MB" (Music Background) in the music string, there
  1388.            isn't much difference from "MF".
  1389.  
  1390.        Reason:
  1391.            There are several things happening here...For one, ANSIPLAY
  1392.            must pull out the music strings from the bulk of the file
  1393.            which is being read at one time.  The strings must then be
  1394.            processed to produce music/sound/pause's.
  1395.  
  1396.            Secondly, the computer's music buffer will only retain 32
  1397.            characters at a time.  If the music string is larger than 32
  1398.            characters or if the music buffer is full when the new
  1399.            music string is to be loaded into it, the program has to wait
  1400.            for the buffer to process the characters which have already been
  1401.            loaded to free up more space in the buffer for the remaining
  1402.            characters to be loaded.
  1403.  
  1404.            Thirdly, Sound codes that have parameters for CYCLES and/or
  1405.            DELAY are processed counting from 0 to CYCLES (or 0 to DELAY).
  1406.            The counting procedure is not loaded into the background buffer.
  1407.            When the frequency/duration is played, however, it is then
  1408.            placed into the buffer.  The counting feature is extremely
  1409.            fast, but if the set values for these parameters are high, it
  1410.            will slow up the display process slightly.
  1411.  
  1412.  
  1413.        Problem:
  1414.            My file was fine until I edited it...now I get a bunch of 
  1415.            garbage when displaying it.
  1416.  
  1417.        Solution:
  1418.            Some word processing programs will add extra printer codes to
  1419.            the file when you "save" the file.  Most programs that do this
  1420.            also have an option to "save" as "ASCII" or "DOS TEXT".  If so,
  1421.            re-save the file using this option.  This will save the contents
  1422.            of the file without adding any other embedded program codes.
  1423.  
  1424.  
  1425.  
  1426.                                    * Page 23 *
  1427.  
  1428.  
  1429.  
  1430.     ========== APPENDIX IV - TROUBLE SHOOTING (PLAY.EXE) ===========
  1431.        Problem:
  1432.            When I tried to write the music string to file, I keep
  1433.            getting an error..."Unable to save".
  1434.  
  1435.        Reason:
  1436.            There may be one of several causes for this:  Disk media
  1437.            format error, not enough disk space or disk write-protected
  1438.            to name a few.
  1439.  
  1440.  
  1441.         ================ APPENDIX V - REFERENCES ===============
  1442.  
  1443.  
  1444.         Programs referenced in ANSIPLAY documentation:
  1445.  
  1446.             AnsiPlay  (ShareWare) - by Julie M. Ibarra
  1447.             ANSI viewing utility with music support.
  1448.  
  1449.             QEdit  (ShareWare) - by SemWare
  1450.             Text editing program.
  1451.  
  1452.             Silly Little Mail Reader  (Shareware) - by Greg Hewgill
  1453.             Off-line mail reader program.
  1454.  
  1455.             TheDraw  (ShareWare) - by Keith Miller and Cat Miller
  1456.             ANSI screen drawing utility with animation support.
  1457.  
  1458.  
  1459.    ============== APPENDIX VI - NOTES FROM THE AUTHOR ==============
  1460.  
  1461.      I developed ANSIPLAY to allow users to not only be able to view
  1462.      their ANSI files and play music (which some programs already do),
  1463.      but to also allow support of Sound codes which is not available
  1464.      in any other ANSI viewer.
  1465.  
  1466.      The program is a result of many, many hours and 3 a.m. sessions.
  1467.      Time allowing, I have de-bugged it as much as possible, though bear
  1468.      in mind that I am only ONE person.  Should you happen to run
  1469.      accross one of those pesty little "bugs" (even a minor one), please
  1470.      be sure to notify me so that it can be fixed in the next released
  1471.      version of ANSIPLAY.
  1472.  
  1473.      If you have a modem, there is not a "home base" BBS for ANSIPLAY
  1474.      as of yet, but if you have access to a BBS that uses the PC-Relay
  1475.      network, you will be able to leave me a message in the ANSI/GALLERY
  1476.      conference.
  1477.  
  1478.      Or you can call my hang-out...The FileBank BBS in Fallbrook, CA
  1479.      (619) 728-4318.
  1480.  
  1481.      And of course, you can send any correspondence directly to me at:
  1482.  
  1483.                               Julie M. Ibarra
  1484.                               P.O. Box 710727
  1485.                           Santee, CA  92072-0727
  1486.  
  1487.      Any comments regarding program features, documentation, present-
  1488.      ation, etc. are always appreciated.
  1489.  
  1490.      --end of documentation--
  1491.